package com.zxx.flowerstore.entity.constant;

/**
 * @ClassName MagicConstant
 * @Author Admin
 * @Date 2021/3/16 20:33
 * @Description MagicConstant   存放魔法值
 * @Version 1.0
 */
public class MagicConstant {

    public static final Integer ZERO = 0;

    public static final Integer ONE = 1;


    private static final String VERIFICATION_CODE_="VERIFICATION_CODE_";
    private static final String TEMPLATEAUTH_CODE_="TEMPLATEAUTH_CODE_";

    public static String getVerificationCode() {
        return VERIFICATION_CODE_;
    }

    public static String getTemplateauthCode() {
        return TEMPLATEAUTH_CODE_;
    }

    /**
     *  管理员类型账户
     */
    public static final String ADMIN = "YHLX20";

    /**
     *  顾客类型账户
     */
    public static final String CUSTOMER = "YHLX10";

    /**
     *  默认密码
     */
    public static final String DEFAULT_PWD = "123456";

    /**
     *  用户类型 有效
     */
    public static final String USER_LIVE = "YHZT10";

    /**
     *  用户类型 无效
     */
    public static final String USER_DEAD = "YHZT20";

    /**
     *  省
     */
    public static final String PROVINCE = "DZDJ10";

    /**
     *  市
     */
    public static final String CITY = "DZDJ20";

    /**
     *  区
     */
    public static final String DISTRICT = "DZDJ30";

    /**
     *  乡
     */
    public static final String TOWN = "DZDJ40";

    /**
     *  高德url
     */
    public static final String IMAP_BASE_URL = "https://restapi.amap.com/v3/geocode/geo";

}
